public class MyClass{
    private String name;

    public MyClass (String name){
        this.name = name;
    }

    public String getName(){
        return this.name;
    }
}